xen/arm: do_trap_instr_abort_guest: Move the IPA computation out of the switch
authorJulien Grall <julien.grall@arm.com>
Thu, 15 Sep 2016 11:28:17 +0000 (12:28 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 28 Sep 2016 01:13:31 +0000 (18:13 -0700)
commit36770c9d2b6e846a8740f351b15890f7cb396191
tree3db87ca1f1ca6b690f2d718a72671242e03c498a
parentecee7bfc18c69892e2a3b213448e592eceeccb7a
xen/arm: do_trap_instr_abort_guest: Move the IPA computation out of the switch

A follow-up patch will add more case to the switch that will require the
IPA. So move the computation out of the switch.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/arm/traps.c